@base-url: '..';
@font-face {
  font-family: 'NotoSansCJKsc';
  src: url("@{base-url}/font/Roboto-Light.ttf");
}

html {
  -webkit-font-smoothing: antialiased;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  text-align: center;
  font: 14px/1.5 Arial,NotoSansCJKsc,SimHei,sans-serif;
  background: #FFFFFF;
  color: #323232;
}

body,
html {
  min-height: 100%;
}

body,
div,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
input,
li,
p,
table,
td,
textarea,
th,
tr,
ul {
  padding: 0;
  margin: 0;
}

img {
  vertical-align: top;
  border: 0;
  display: inline-block;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

li,
table,
td,
th,
tr,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4,
h5,
h6,
i,
td,
th {
  font-weight: 400;
  font-style: normal;
}

a {
  text-decoration: none;
  outline: 0;
  color: #333;
  background-color: transparent;
}

a:hover {
  text-decoration: none;
}

.none {
  display: none !important;
}

.border0 {
  border: 0 !important;
}

.z {
  float: left;
}

.y {
  float: right;
}

.clear {
  clear: both;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
// 清除iPhone产品默认样式

button,
input,
select,
textarea {
  outline: 0;
  resize: none;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  border-radius: 0;
}

::-webkit-scrollbar {
  display: none;
}
// placeholder颜色

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #bebebe;
}

a,
button,
input {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.tl {
  text-align: left;
}

.tc {
  text-align: center;
}

.tr {
  text-align: right;
}
// 颜色
@whiteColor: #FFFFFF; // 字体Size

.fontSize0 {
  font-size: 0;
}

.fontSize10 {
  font-size: 10px;
}

.fontSize12 {
  font-size: 12px;
}

.fontSize14 {
  font-size: 14px;
}

.fontSize16 {
  font-size: 16px;
}

.fontSize18 {
  font-size: 18px;
}

.fontSize20 {
  font-size: 20px;
}

.fontSize22 {
  font-size: 22px;
}

.fontSize24 {
  font-size: 24px;
}

.fontSize26 {
  font-size: 26px;
}

.fontSize28 {
  font-size: 28px;
}

.fontSize30 {
  font-size: 30px;
}

.fontSize32 {
  font-size: 32px;
}

.fontSize34 {
  font-size: 34px;
}

.fontSize36 {
  font-size: 36px;
}

.fontBold {
  font-weight: 600;
}

.capitalize {
  text-transform: capitalize;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}
// Other

.full {
  width: 100%;
  height: 100%;
}

.positionFull {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.break-word {
  word-break: break-all;
  word-wrap: break-word;
}

.tran(@name:all, @time:0.5s) {
  -webkit-transition: @name @time;
  -moz-transition: @name @time;
  -ms-transition: @name @time;
  -o-transition: @name @time;
  transition: @name @time;
}

.opacity(@num:0.8) {
  opacity: @num;
  filter: ~  'alpha(opacity='@num*100~')'
}

.border-radius(@radius: 4px) {
  -webkit-border-radius: @radius;
  -moz-border-radius: @radius;
  -ms-border-radius: @radius;
  -o-border-radius: @radius;
  border-radius: @radius;
}

.box-shadow(@x: 0, @y: 0, @z: 0, @spread: 0, @color: rgba(0, 0, 0, 0.06)) {
  box-shadow: @arguments;
  -webkit-border-radius: @arguments;
  -moz-border-radius: @arguments;
  -ms-border-radius: @arguments;
  -o-border-radius: @arguments;
  border-radius: @arguments;
}

.letter(@width: 1px) {
  letter-spacing: @width;
}

.ellipsisL(@rows: 2) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: @rows;
  -webkit-box-orient: vertical;
}

.icon(@x, @y) {
  background: url("@{base-url}/img/icon.png") no-repeat;
  background-position: @x @y;
}
